-- GENERATED SPELL FOR [Cursed Centaur] --


function spell0_11688(pUnit, Event) --@Curse of the Tribes,Self--
pUnit:FullCastSpellOnTarget(21048,pUnit)
pUnit:RegisterEvent('Sorts_11688', 2000, 1)
end

function Sorts_11688(pUnit, Event)
local choix_sorts_11688 = math.random(0, 0)
if choix_sorts_11688 == 0 then
pUnit:RegisterEvent('spell0_11688', 1, 1)
end
end

function mob11688_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11688', math.random(1500, 3000), 1)
end

function mob11688_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11688_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11688_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11688, 1, 'mob11688_Action')
RegisterUnitEvent(11688, 2, 'mob11688_Leave')
RegisterUnitEvent(11688, 3, 'mob11688_Kill')
RegisterUnitEvent(11688, 4, 'mob11688_Die')
